# -*- coding: utf-8 -*-
import tornado
import app.tools.SafeMonitorTools.api as api
import app.tools.SafeMonitorTools.m_position_layer_type as layerType
from app.views import SmBaseHandler
LayerType = layerType.LayerType # kj83里面 m_position表格中的 layer字段对应值的字典
mine_id = layerType.default_MineId
class integrationHandler(SmBaseHandler):
    @tornado.gen.coroutine
    def get(self):
        links = yield api.get_integration()
        self.finish({'data': links})
